package oop.day08;

public class Person extends  Skin {
    String name;
    int age;
    Person(){
        super();

    }
    Person(String name, int age) {
        super();
        this.name = name;
        this.age = age;
    }
    public void eat(){
        System.out.println(this.name+"Person.eat");
    }
    public void sleep(){
        System.out.println(this.name+"Person.sleep");
    }

    @Override
    public void costSkin() {
        System.out.println("Person costs skin");
    }
}
